package me.joshua.tools4j.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.thymeleaf.TemplateEngine;
import org.thymeleaf.spring.support.Layout;

@Controller
public class MiscController {

	@Autowired
	@Qualifier("mailTemplateEngine")
	private TemplateEngine	templateEngine;

	@RequestMapping(value = "/signin", method = RequestMethod.GET)
	@Layout("/simple")
	public String signIn() {
		return "/signin";
	}
}